ANI-guided opioid administration